package com.neusoft.yiyang.task.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.neusoft.yiyang.common.entity.task.CareTask;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CareTaskMapper extends BaseMapper<CareTask> {

    // 根据客户ID查询任务
    List<CareTask> selectByCustomerId(Integer customerId);

    // 根据护工ID查询任务
    List<CareTask> selectByCaretakerId(Integer caretakerId);
}